/**
 * 作者：陈文斌 on 2019/1/18.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:json_annotation/json_annotation.dart';
import 'package:crm/model/Employee/employee_model.dart';

part 'employee_favorite_model.g.dart';

@JsonSerializable()
class EmployeeFavoriteModel extends Object
    with _$EmployeeFavoriteModelSerializerMixin {
  String Id;
  String EmployeeId;
  EmployeeModel Employee;
  String CreateTime;
  String RelType;
  String RelId;
  Map RelObj;
  String Uri;
  String Notes;
  String CustomExt;

  EmployeeFavoriteModel(
    this.Id,
    this.EmployeeId,
    this.Employee,
    this.CreateTime,
    this.RelId,
    this.RelType,
    this.RelObj,
    this.Uri,
    this.Notes,
    this.CustomExt,
  );

  @override
  factory EmployeeFavoriteModel.fromJson(Map<String, dynamic> json) => _$EmployeeFavoriteModelFromJson(json);
}
